<template>
  <!-- 雷达图  图表必须给高和宽度-->
  <div ref="myDiv" class="radar-echart" />
</template>

<script>
import * as echarts from "echarts";
export default {
  name: "Radar",
  data() {
    return {};
  },
  mounted() {
      var myChart = echarts.init(document.getElementById('main'));
  },
  computed: {},
  components: {},
  methods: {}
};
</script>

<style lang="less" scoped>
.radar-echart {
    width: 600px;
    height: 400px;
}
</style>